define(['jquery', 'angular', 'app.services', 'require'],function($, angular, services,  require){
    'use strict';

    services.service('vsService', ['$resource','Base','$q',function ($resource,Base,$q) {


        this.longTime = function (data,success,error) {
            return $resource(Base.stringFormat("{0}/upload/version/:data", Base.dataApiUri.student),{data:data}).get(success,error);
        };
        this.versionWar = function (param,success,error) {
            return $resource(Base.stringFormat("{0}/upload/version/war", Base.dataApiUri.student)).save(param,success,error);
        };
        this.testLogin = function (data,success,error) {
            return $resource(Base.stringFormat("/api/test/:data", Base.dataApiUri.student),{data:data}).get(success,error);
        };
       
    }]);


});

